import { ERROR } from '../constants';
import Action from '../core/Action';
import Tick from '../core/Tick';

export default class Error extends Action {

  constructor(name = 'Error') {
    super(name);
  }

  onTick(tick: Tick, ...args: any[]): number {
    this.onConsume(tick, ...args)
    return ERROR;
  }

  onConsume(tick: Tick, ...args: any[]) {

  }
};
